package com.vegetable.modules.vo;

import com.vegetable.modules.entity.stock.CostWeightChangeSource;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 成本单价变化连锁链路VO
 * </p>
 *
 * @author wangruijie
 * @since 2024-03-21
 */
@Data
@ApiModel(value="成本单价变化连锁链路VO", description="成本单价变化连锁链路VO")
public class CostWeightChangeChainVO {

    @ApiModelProperty(value = "源头变化记录")
    private CostWeightChangeSource rootChange;

    @ApiModelProperty(value = "连锁变化链路")
    private List<CostWeightChangeSource> chainChanges;

    @ApiModelProperty(value = "链路深度")
    private Integer chainDepth;

    @ApiModelProperty(value = "影响的库存数量")
    private Integer affectedStockCount;

    @ApiModelProperty(value = "总成本变化金额")
    private java.math.BigDecimal totalChangeAmount;
}